package stream转换知识;

// 实体类
class Employee {
    private String name;
    private int age;
    private double salary;

    // 构造函数和 Getter/Setter
    public Employee(String name, int age, double salary) {
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public double getSalary() {
        return salary;
    }
}